<template>
  <div>
    <button @click="addTodo">添加</button>
  </div>
</template>

<script>
export default {
  name: "Todobutton",

  data() {
    return {};
  },

  mounted() {},

  methods: {
    addTodo() {
      this.$emit("addTodo");
    },
  },
};
</script>

<style scoped>
</style>